package com.mdl.springmvc.tpg.service.impl;

import com.mdl.springmvc.tpg.dao.TpgFyxxMapper;
import com.mdl.springmvc.tpg.po.TpgFyxx;
import com.mdl.springmvc.tpg.service.TpgFyxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Desc
 * @Author madengling
 * @Time 2020/10/29 11:02
 */
@Service
public class TpgFyxxServiceImpl implements TpgFyxxService {
    @Autowired(required=false)
    private TpgFyxxMapper fyxxMapper;
    @Override
    public void insertTpgFyx(List<TpgFyxx> fyxxes) {
        for(TpgFyxx fyxx: fyxxes){
            fyxxMapper.insert(fyxx);
        }
    }
}
